﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PlanAdd.aspx.cs" Inherits="Business_YiWu_PlanAdd"
    Theme="normal" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>预约新增</title>
       <%-- <link href="../../yiwutong/css/style.css" rel="stylesheet" type="text/css" />
    <link href="../../yiwutong/css/font.css" rel="stylesheet" type="text/css" />--%>
    <style type="text/css">
       .buttons
       {
         border:1px solid #C9DEEC; 
         background-color:#FFFFFF; 
         margin-left:0px;
         height:20px;
       } 
        .test
        {
        	
	        height:25px;
	        float:left;
	        padding-left: 65px;
	        padding-top: 5px;
	        color:#2f2f2f;
	        vertical-align: middle;
	        line-height:30px;
        }
    </style>
</head>
<body style="background-color: #fcf6ec">
    <form id="form1" runat="server">
    <asp:ScriptManager ID="Scriptmanager1" runat="server" EnableScriptGlobalization="true"
            EnableScriptLocalization="true">
        </asp:ScriptManager>
        <div class="normalnav">
            <div class="normalcontent">
                <span style="color: #ffffff">预约管理>>></span><span style="color: #f6ff00">预约信息管理</span><span style="color: #ffffff">>>></span><span style="color: #f6ff00">预约信息新增</span>
            </div>
        </div>
        <div style="position:absolute;top:55px;left:25px;">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="wenzi07">
            <tr>
                <td width="15%" style="text-align: right">
                    <font style="color: Red">*</font>预约科室：
                </td>
                <td colspan="3" style="text-align: left">
                <asp:DropDownList ID="DDLTemplate" Width="200px" runat="server" AutoPostBack="true"
                     Visible="false">
                </asp:DropDownList>
                    <asp:DropDownList ID="ddlDep" Width="200px" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlDep_SelectedIndexChanged">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td width="15%" style="text-align: right">
                    <font style="color: Red">*</font>预约时间：
                </td>
                <td colspan="3" style="text-align: left">
                    <asp:DropDownList ID="ddlbookday" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlbookday_SelectedIndexChanged">
                    </asp:DropDownList>
                    <asp:DropDownList ID="ddltime" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddltime_SelectedIndexChanged">
                    </asp:DropDownList>
                    该时段预约状态：
                    <asp:Label ID="lblShowTimeCheck" runat="server"></asp:Label>
                </td>
            </tr>
            <%--预约时间、患者姓名、校验--%>
            <tr>
                <td width="15%">
                </td>
                <td width="35%">
                    &nbsp;
                </td>
                <td width="15%">
                </td>
                <td width="35%">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td style="text-align: right">
                    <font style="color: Red">*</font>患者姓名：
                </td>
                <td>
                    <asp:TextBox ID="Name" runat="server" MaxLength="10"></asp:TextBox>
                </td>
                <td style="text-align: left" colspan="2">
                    性 别：
                    <asp:DropDownList ID="ddlSex" runat="server">
                        <asp:ListItem>男</asp:ListItem>
                        <asp:ListItem>女</asp:ListItem>
                    </asp:DropDownList>
                    <font style="color: Red">*</font>年 龄：
                    <asp:TextBox ID="txtage" runat="server" Width="80px"></asp:TextBox>
                    <ajaxtoolkit:filteredtextboxextender id="ajaxFTBage" runat="server" targetcontrolid="txtage"
                        validchars="0123456789">
                                        </ajaxtoolkit:filteredtextboxextender>
                    岁
                </td>
            </tr>
            <%--性 别、年 龄、校验--%>
            <tr>
                <td width="15%">
                </td>
                <td width="35%">
                    <font style="color: Red">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="Name"
                            runat="server" ErrorMessage="姓名不能为空"></asp:RequiredFieldValidator></font>
                </td>
                <td colspan="2" style="text-align: right">
                    &nbsp;<font style="color: Red"><asp:Label ID="lblChecktxtage" runat="server" Text=""></asp:Label></font>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidatorfortxtQZ" ControlToValidate="txtage"
                        runat="server" ErrorMessage="年龄不能为空"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorfortxtQZ" runat="server"
                        ControlToValidate="txtage" CssClass="Text" ErrorMessage="年龄应为大于或等于零的整数" ValidationExpression="^\d+$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td style="text-align: right">
                    <font style="color: Red">*</font>手机电话：
                </td>
                <td colspan="3" style="text-align: left">
                    <asp:TextBox ID="txtMobileNum" runat="server"></asp:TextBox>
                    
                    <ajaxtoolkit:filteredtextboxextender id="FilteredTextBoxExtender1" runat="server"
                        targetcontrolid="txtMobileNum" validchars="0123456789">
                                        </ajaxtoolkit:filteredtextboxextender>
                </td>
            </tr>
            <%--联系地址、手机电话、校验--%>
            <tr>
                <td width="15%">
                </td>
                <td width="35%">
                    &nbsp;<font style="color: Red"><asp:Label ID="lblCheckMobile" runat="server" Text=""></asp:Label></font>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtMobileNum"
                        runat="server" ErrorMessage="手机不能为空"></asp:RequiredFieldValidator>
                </td>
                <td width="15%">
                </td>
                <td width="35%">
                </td>
            </tr>
            <tr>
                <td style="text-align: right">
                    预约医院：
                </td>
                <td>
                    <asp:Label ID="lblHospitalName" runat="server"></asp:Label>
                    <asp:Label ID="lblHospitalID" runat="server" Visible="false"></asp:Label>
                </td>
                <td style="text-align: right">
                    预约科室：
                </td>
                <td>
                    <asp:Label ID="lblDepartmentName" runat="server"></asp:Label>
                    <asp:Label ID="lblDepartmentID" runat="server" Visible="false"></asp:Label>
                </td>
            </tr>
            <%--预约医院、预约科类、分隔--%>
            <tr>
                <td width="15%">
                </td>
                <td width="35%">
                    &nbsp;
                </td>
                <td width="15%">
                </td>
                <td width="35%">
                    &nbsp;
                </td>
            </tr>
            <tr style="display: none">
                <td style="text-align: right">
                    预约医院地址：
                </td>
                <td colspan="3">
                    <asp:Label ID="lblHospitalAdd" runat="server"></asp:Label>
                </td>
            </tr>
            <%--预约医院地址分隔--%>
            <tr style="display: none">
                <td width="15%">
                </td>
                <td width="35%">
                    &nbsp;
                </td>
                <td width="15%">
                </td>
                <td width="35%">
                    &nbsp;
                </td>
            </tr>
            <%--<tr>
                                    <td style="text-align:right">
                                        预约医生：
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddldoctors" runat="server">
                                            <asp:ListItem>刘武</asp:ListItem>
                                            <asp:ListItem>聂有有</asp:ListItem>
                                            <asp:ListItem>张秀</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                    <td width="15%">
                                    </td>
                                    <td width="35%">
                                        <a href="time.html" target="_blank">查看医生门诊时间表</a>
                                    </td>
                                </tr>--%>
            <%--预约医生分隔--%>
            <tr style="display: none">
                <td width="15%">
                </td>
                <td width="35%">
                    &nbsp;
                </td>
                <td width="15%">
                </td>
                <td width="35%">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td style="text-align: right">
                    预约留言：
                </td>
                <td colspan="3">
                    <asp:TextBox ID="txtContent" runat="server" Width="280px" Height="75px" TextMode="MultiLine"
                        MaxLength="100"></asp:TextBox>温馨提示：留言内容不能超过50个汉字(100个字符)
                </td>
            </tr>
            <%--预约留言校验--%>
            <tr>
                <td width="15%">
                </td>
                <td colspan="3">
                    &nbsp;<font style="color: Red"><asp:Label ID="lblChecktxtContent" runat="server"
                        Text=""></asp:Label></font>
                </td>
            </tr>
            <%--分隔--%>
            <tr>
                <td width="15%">
                </td>
                <td width="35%">
                    &nbsp;
                </td>
                <td width="15%">
                </td>
                <td width="35%">
                    &nbsp;
                </td>
            </tr>
            <asp:Panel ID="pnlShowFile" runat="server">
                <%--验证码--%>
                <tr>
                    <td width="15%">
                        校验码：
                    </td>
                    <td width="35%">
                        <asp:TextBox ID="txtcode" runat="server"></asp:TextBox>
                    </td>
                    <td width="15%">
                    </td>
                    <td width="35%">
                        &nbsp;
                    </td>
                </tr>
                <%--分隔--%>
                <tr>
                    <td width="15%">
                    </td>
                    <td width="35%">
                        &nbsp;
                    </td>
                    <td width="15%">
                    </td>
                    <td width="35%">
                        &nbsp;
                    </td>
                </tr>
            </asp:Panel>
            <tr>
                <td colspan="4" style="text-align: center">
                    <asp:ImageButton ID="ibtnUpdate" runat="server" ImageUrl="../../yiwutong/images/btn_10.gif" Width="61"
                        Height="22" OnClick="ibtnUpdate_Click" />
                    <asp:ImageButton ID="ibtnCannel" runat="server" ImageUrl="../../yiwutong/images/btn_12.gif" Width="61"
                        Height="22" OnClick="ibtnCannel_Click" CausesValidation="false" />
                    <%--<a href="success.html">
                                            <img src="../images/btn_10.gif" width="61" height="22" border="0" /></a>
                                        <a href="categories.aspx">
                                            <img src="../images/btn_12.gif" width="61" height="22" border="0" /></a>--%>
                </td>
            </tr>
        </table>
        </div>
    </form>
</body>
</html>
